package com.rmb.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @ClassName LogAddressMapper
 * @Description TODO
 * @Author lvshook
 * @Date 2021/1/20 10:57
 * @Version 1.0
 **/
@Mapper
public interface LogAddressMapper {
    /**
     * 获取近一次登录时间
     * @param uid
     * @return
     */
    Date findone(@Param("uid")Long uid);

    /**
     * 登录记录表
     * @param uid
     * @return
     */
    List logAll(@Param("uid")Long uid);
}
